//============================================================================================
/**
 * @file	hurdle_poke_icon.h
 * @brief	ポケスロン競技：ハードル走　ポケモンアイコン
 * @author	Nozomu Saito
 */
//============================================================================================

#ifndef __HURDLE_POKE_ICON_H__
#define __HURDLE_POKE_ICON_H__

#include "common.h"

#define RANK_DISP_MAX	(8)		//上画面順位表示
#define ICON_HALF_SIZE	(16)

typedef struct  HURDLE_POKE_ICON_CNT_tag * HPI_CNT_PTR;

typedef struct ICON_INFO_tag
{
	u16 MonsNo;
	u16 Form;
}ICON_INFO;

extern HPI_CNT_PTR HurdlePokeIcon_Alloc(const int inHeapID);
extern void HurdlePokeIcon_Free(HPI_CNT_PTR ptr);
extern void HurdlePokeIcon_Setup(HPI_CNT_PTR ptr, const ICON_INFO *inIconInfo);
extern void HurdlePokeIcon_SetPosition(HPI_CNT_PTR ptr, const int inIndex, const int inPos);
extern void HurdlePokeIcon_SetRank(HPI_CNT_PTR ptr, const int inIndex, const u8 inRank);
extern void HurdlePokeIcon_SetAllVanish(HPI_CNT_PTR ptr, const int inFlg);
extern void HurdlePokeIcon_SetVanish(HPI_CNT_PTR ptr, const int inIndex, const int inFlg);
extern void HurdlePokeIcon_SetPri(HPI_CNT_PTR ptr, const int inIndex, const u8 inPri);
extern void HurdlePokeIcon_Draw(HPI_CNT_PTR ptr);

#endif	//__HURDLE_POKE_ICON_H__